package com.xunbao.controller;


import com.xunbao.utils.DateUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created with IntelliJ IDEA.
 * ClassName:Controller
 * Description:
 * Author:yijiawei
 * Date: 2016/5/4 9:25
 */

@Controller
public class UserController {

    @RequestMapping(value = "/getUserName")
    @ResponseBody
    public String getUserName() {
        System.out.println(DateUtils.getNowDateStr());
        return "OK";
    }
}
